<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
<div class="middle padtop10 myclear">
	
	<form name="frmSignUp" id="frmSignUp" action="" method="post" >
		<div class="page-content">
		
		<!-- bread crumb -->
		<p id="bread-crumb">
			<a href="<?php echo base_url();?>">
				<?php echo $lang['home']?>
				
			</a>
			<a href="<?php echo site_url('module');?>">
				<?php echo $lang['module']?>
			</a>
			<?php echo $lang['module_edit']?>
		</p><!-- end bread crumb -->
		
		<h3>
			<?php echo $lang['module_edit']?>
		</h3>
		<br style="clear:both;" />
		<div class="register-page" style="width:50%;float:left;">
			<div style="border:1px solid #ccc;padding:5px 0 5px 20px">
				<p class="login-label">
					<?php echo $lang['module_name']?>: <span class="require">*</span>
					<input type="text" class="login-input <?php if($errName!='') echo 'error-border';?>" name="modulename" id="modulename" value="<?php echo $modulename?>" />
				</p>
				<p class="padtop5 padbottom5 error-text" id="errName" ><?php echo $errName?></p>
				<p class="login-label">
					<?php echo $lang['module_dir']?>: <span class="require">*</span>
					<input type="text" class="login-input <?php if($errDir!='') echo 'error-border';?>" name="moduledir" id="moduledir" value="<?php echo $moduledir?>" />
				</p>
				<p class="padtop5 padbottom5 error-text" id="errDir" ><?php echo $errDir?></p>
				<p class="login-label">
					<?php echo $lang['module_listorder']?>:
					<input type="text" class="login-input" name="listorder" id="listorder" value="<?php echo $listorder?>" />
				</p>
			</div>
		</div>
		<div style="width:48%;float:right">
			
		</div>
		
		<br style="clear:both;" /><br />
		<p class="respage-btn-box myclear">
			<input type="submit" value="<?php echo $lang['create']?>"></input>
			<input type="button" onclick="window.location.href='<?php echo site_url('module');?>';" value="<?php echo $lang['cancel'];?>"></input>
		</p>
		<br />
	</div> <!-- end page content -->
	</form>
</div>